package com.ruoyi.project.channel.vwChannelBusinessCashDayStat.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * VIEW表 vw_channel_business_cash_day_stat
 * 
 * @author zero
 * @date 2019-05-06
 */
public class VwChannelBusinessCashDayStat extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	/** 创建时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date createTime;
	/**  */
	private String id;
	/** 用户ID */
	private Long userId;
	/** 用户昵称 */
	private String channelUserName;
	/** 用户昵称 */
	private String businessUserName;
	/** 用户ID */
	private Long businessUserId;
	/** 商户编号 */
	private Long businessId;
	/**  */
	private BigDecimal sjjeSum;
	/**  */
	private BigDecimal feeSum;
	/**  */
	private BigDecimal cashSum;
	/**  */
	private BigDecimal receiveSuccessSum;
	/**  */
	private Long receiveSum;
	/**  */
	private String sucessRate;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setChannelUserName(String channelUserName) 
	{
		this.channelUserName = channelUserName;
	}

	public String getChannelUserName() 
	{
		return channelUserName;
	}
	public void setBusinessUserName(String businessUserName) 
	{
		this.businessUserName = businessUserName;
	}

	public String getBusinessUserName() 
	{
		return businessUserName;
	}
	public void setBusinessUserId(Long businessUserId) 
	{
		this.businessUserId = businessUserId;
	}

	public Long getBusinessUserId() 
	{
		return businessUserId;
	}
	public void setBusinessId(Long businessId) 
	{
		this.businessId = businessId;
	}

	public Long getBusinessId() 
	{
		return businessId;
	}
	public void setSjjeSum(BigDecimal sjjeSum) 
	{
		this.sjjeSum = sjjeSum;
	}

	public BigDecimal getSjjeSum() 
	{
		return sjjeSum;
	}
	public void setFeeSum(BigDecimal feeSum) 
	{
		this.feeSum = feeSum;
	}

	public BigDecimal getFeeSum() 
	{
		return feeSum;
	}
	public void setCashSum(BigDecimal cashSum) 
	{
		this.cashSum = cashSum;
	}

	public BigDecimal getCashSum() 
	{
		return cashSum;
	}
	public void setReceiveSuccessSum(BigDecimal receiveSuccessSum) 
	{
		this.receiveSuccessSum = receiveSuccessSum;
	}

	public BigDecimal getReceiveSuccessSum() 
	{
		return receiveSuccessSum;
	}
	public void setReceiveSum(Long receiveSum) 
	{
		this.receiveSum = receiveSum;
	}

	public Long getReceiveSum() 
	{
		return receiveSum;
	}
	public void setSucessRate(String sucessRate) 
	{
		this.sucessRate = sucessRate;
	}

	public String getSucessRate() 
	{
		return sucessRate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("channelUserName", getChannelUserName())
            .append("businessUserName", getBusinessUserName())
            .append("businessUserId", getBusinessUserId())
            .append("createTime", getCreateTime())
            .append("businessId", getBusinessId())
            .append("sjjeSum", getSjjeSum())
            .append("feeSum", getFeeSum())
            .append("cashSum", getCashSum())
            .append("receiveSuccessSum", getReceiveSuccessSum())
            .append("receiveSum", getReceiveSum())
            .append("sucessRate", getSucessRate())
            .toString();
    }

	@Override
	public Date getCreateTime() {
		return createTime;
	}

	@Override
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
